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

This commit is contained in:
Aaron Wang 2023-06-28 09:15:31 +08:00 committed by GitHub
parent 5250b253eb
commit 8a2c05f1ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 8 deletions

View File

@ -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'

View File

@ -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')}

View File

@ -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')}

View File

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

View File

@ -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']}

View File

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

View File

@ -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']}