Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/aria/combobox/combobox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class Combobox<V> {
readonly disabled = input(false, {transform: booleanAttribute});

/** Whether the combobox is read-only. */
readonly readonly = input(false);
readonly readonly = input(false, {transform: booleanAttribute});

/** The value of the first matching item in the popup. */
readonly firstMatch = input<V | undefined>(undefined);
Expand All @@ -121,7 +121,7 @@ export class Combobox<V> {
// Or an "always expanded" option?

/** Whether the combobox popup should always be expanded, regardless of user interaction. */
readonly alwaysExpanded = input(false);
readonly alwaysExpanded = input(false, {transform: booleanAttribute});

/** Input element connected to the combobox, if any. */
readonly inputElement = computed(() => this._pattern.inputs.inputEl());
Expand Down
2 changes: 1 addition & 1 deletion src/aria/tree/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class Tree<V> {
readonly textDirection = inject(Directionality).valueSignal;

/** Whether the tree is in navigation mode. */
readonly nav = input(false);
readonly nav = input(false, {transform: booleanAttribute});

/**
* The `aria-current` type. It can be used in navigation trees to indicate the currently active item.
Expand Down
Loading