Merge branch 'develop' into feature/CSR-1112
This commit is contained in:
commit
f01eb65816
1 changed files with 1 additions and 6 deletions
|
|
@ -132,10 +132,6 @@ export default {
|
|||
customButtonQuestionId: String,
|
||||
},
|
||||
setup(props) {
|
||||
const buttonQuestionId = !props.customButtonQuestionId
|
||||
? `button-question-${crypto.randomUUID()}`
|
||||
: props.customButtonQuestionId;
|
||||
|
||||
const propsClone = Object.assign({}, props);
|
||||
const modelValue = propsClone.modelValue;
|
||||
|
||||
|
|
@ -145,10 +141,9 @@ export default {
|
|||
};
|
||||
|
||||
const { errorMessage, handleBlur, handleChange, meta, validate, errors, resetField } =
|
||||
useField(buttonQuestionId, props.validationRules, fieldOptions);
|
||||
useField(props.groupName, props.validationRules, fieldOptions);
|
||||
|
||||
return {
|
||||
buttonQuestionId,
|
||||
errorMessage,
|
||||
handleBlur,
|
||||
handleChange,
|
||||
|
|
|
|||
Loading…
Reference in a new issue