1
0
mirror of synced 2024-11-22 13:26:06 +03:00

chore: Dead code removal

This commit is contained in:
Zaytsev Kirill 2020-10-22 17:45:00 +03:00
parent 13362a703a
commit 25a4f5530f

View File

@ -56,18 +56,12 @@ export default class FormularioInput extends Vue {
@Prop({ default: () => ({}) }) validationRules!: Record<string, ValidationRule> @Prop({ default: () => ({}) }) validationRules!: Record<string, ValidationRule>
@Prop({ default: () => ({}) }) validationMessages!: Record<string, any> @Prop({ default: () => ({}) }) validationMessages!: Record<string, any>
@Prop({ default: () => [] }) errors!: string[] @Prop({ default: () => [] }) errors!: string[]
@Prop({ @Prop({
default: ERROR_BEHAVIOR.BLUR, default: ERROR_BEHAVIOR.BLUR,
validator: behavior => [ERROR_BEHAVIOR.BLUR, ERROR_BEHAVIOR.LIVE, ERROR_BEHAVIOR.SUBMIT].includes(behavior) validator: behavior => [ERROR_BEHAVIOR.BLUR, ERROR_BEHAVIOR.LIVE, ERROR_BEHAVIOR.SUBMIT].includes(behavior)
}) errorBehavior!: string }) errorBehavior!: string
@Prop({ default: false }) showErrors!: boolean
@Prop({ default: false }) disableErrors!: boolean @Prop({ default: false }) disableErrors!: boolean
@Prop({ default: true }) preventWindowDrops!: boolean
@Prop({ default: false }) uploader!: Function|Record<string, any>|boolean
@Prop({ default: false }) uploadUrl!: string|boolean
@Prop({ default: 'live' }) uploadBehavior!: string
defaultId: string = this.$formulario.nextId(this) defaultId: string = this.$formulario.nextId(this)
proxy: Record<string, any> = this.getInitialValue() proxy: Record<string, any> = this.getInitialValue()