Browse Source

[Improvement][UI] Description input box can not input blank (#14396)

3.2.1-prepare
Aaron Wang 2 years ago committed by GitHub
parent
commit
8a2c05f1ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-ui/src/views/datasource/list/detail.tsx
  2. 1
      dolphinscheduler-ui/src/views/projects/list/components/project-modal.tsx
  3. 2
      dolphinscheduler-ui/src/views/resource/udf/function/components/function-modal.tsx
  4. 1
      dolphinscheduler-ui/src/views/security/alarm-group-manage/components/alarm-group-modal.tsx
  5. 1
      dolphinscheduler-ui/src/views/security/cluster-manage/components/cluster-modal.tsx
  6. 1
      dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx
  7. 1
      dolphinscheduler-ui/src/views/security/tenant-manage/components/tenant-modal.tsx

1
dolphinscheduler-ui/src/views/datasource/list/detail.tsx

@ -230,7 +230,6 @@ const DetailModal = defineComponent({
</NFormItem>
<NFormItem label={t('datasource.description')} path='note'>
<NInput
allowInput={this.trim}
class='input-data-source-description'
v-model={[detailForm.note, 'value']}
type='textarea'

1
dolphinscheduler-ui/src/views/projects/list/components/project-modal.tsx

@ -137,7 +137,6 @@ const ProjectModal = defineComponent({
path='description'
>
<NInput
allowInput={this.trim}
v-model={[this.model.description, 'value']}
type='textarea'
placeholder={t('project.list.description_tips')}

2
dolphinscheduler-ui/src/views/resource/udf/function/components/function-modal.tsx

@ -252,7 +252,6 @@ export default defineComponent({
style={{ marginBottom: '5px' }}
>
<NInput
allowInput={this.trim}
type='textarea'
v-model={[this.uploadForm.description, 'value']}
placeholder={t('resource.function.enter_description_tips')}
@ -272,7 +271,6 @@ export default defineComponent({
path='description'
>
<NInput
allowInput={this.trim}
type='textarea'
v-model={[this.functionForm.description, 'value']}
placeholder={t('resource.function.enter_instructions_tips')}

1
dolphinscheduler-ui/src/views/security/alarm-group-manage/components/alarm-group-modal.tsx

@ -157,7 +157,6 @@ const AlarmGroupModal = defineComponent({
path='description'
>
<NInput
allowInput={this.trim}
type='textarea'
placeholder={t(
'security.alarm_group.alarm_group_description_tips'

1
dolphinscheduler-ui/src/views/security/cluster-manage/components/cluster-modal.tsx

@ -185,7 +185,6 @@ const ClusterModal = defineComponent({
path='description'
>
<NInput
allowInput={this.trim}
class='input-cluster-desc'
placeholder={t('security.cluster.cluster_description_tips')}
v-model={[this.model.description, 'value']}

1
dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx

@ -172,7 +172,6 @@ const EnvironmentModal = defineComponent({
path='description'
>
<NInput
allowInput={this.trim}
class='input-environment-desc'
placeholder={t(
'security.environment.environment_description_tips'

1
dolphinscheduler-ui/src/views/security/tenant-manage/components/tenant-modal.tsx

@ -152,7 +152,6 @@ const TenantModal = defineComponent({
path='description'
>
<NInput
allowInput={this.trim}
class='input-description'
placeholder={t('security.tenant.description_tips')}
v-model={[this.model.description, 'value']}

Loading…
Cancel
Save