Skip to content

Survey negativ integer and float value #15920

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

Open
5 of 11 tasks
maxrainer opened this issue Apr 4, 2025 · 0 comments
Open
5 of 11 tasks

Survey negativ integer and float value #15920

maxrainer opened this issue Apr 4, 2025 · 0 comments

Comments

@maxrainer
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

Within in template when creating a new survey question.
Selecting "answer type" as float or integer.
The minimum can be negativ (p.e. -1 ) but it is never stored. It falls back to default 0.
So there is no way to have negativ input for float or integer values.

AWX version

AAP 2.5.11

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

create new survey question with type of float or integer.
Minimum value: -1
=> save
it is not saved as -1 but falls back to 0

Expected results

-1

Actual results

0

Additional information

No response

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

No branches or pull requests

1 participant