Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nb_inputs with select and input fields combined #998

Open
Hari0701 opened this issue Mar 4, 2024 · 0 comments
Open

nb_inputs with select and input fields combined #998

Hari0701 opened this issue Mar 4, 2024 · 0 comments

Comments

@Hari0701
Copy link

Hari0701 commented Mar 4, 2024

Is there any way I can use both select and input.
operators
this.conditionList.forEach(value => {
this.operators.push({ type: value.name, optgroup: 'custom', nb_inputs: value.nbInputs + num, multiple: false, apply_to: ['number', 'string'] })
})
filters
this.filters.push({
id: value.fieldCode, label: value.fieldName, type: value.fieldType, validation: { allow_empty_value: false }, input: "select", values: {
0: [ "Fixed"],
1: ["Percentage"]
}
If I set this for everthing it is selectable but I want only the first field to be selectable. And for the other input fields I want to add a placeholder. Any suggestion would be a great help.

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant