mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 07:31:09 +02:00
* [UI] Updated `FormField` to use `Hds::Form::Checkbox` for `type/editType=boolean` (#34798) * [UI] Updated `FormField` tests for `type/editType=boolean` (#34798) * [UI] Fixed failing test cases from `FormField` `boolean` updates (#34798) * [UI] fixes raised in PR review (#34798) * removed `this.labelString` guard per agreement see https://github.com/hashicorp/vault/pull/30788 * [UI] replaced `assert.ok` with `assert.true` per code review suggestion * updated `isHdsFormField` logic to reflect more accurately inital “logic” flow in the `form-field.hbs` template file for context: https://hashicorp.slack.com/archives/C05DGFEBCP2/p1751023770911809 * fixed test that was erroneously changed in previous PR due to an undetected bug the previous code was generating a `checkbox` instead of a `toggleButton` it’s now been fixed (see previous commit) * Update ui/lib/core/addon/components/form-field.hbs Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com> --------- Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>