Skip to content

Commit

Permalink
fix Search Input - composable advanced search demo (#9484)
Browse files Browse the repository at this point in the history
* Search Input - composable advanced search fix date

* remove isFill from datePicker
  • Loading branch information
MariaAga authored Nov 15, 2023
1 parent 88e1c34 commit 4b23675
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ const DatePickerBase = (
>
<div className={styles.datePickerInput} ref={triggerRef}>
<InputGroup>
<InputGroupItem isFill>
<InputGroupItem>
<TextInput
isDisabled={isDisabled}
isRequired={requiredDateOptions?.isRequired}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`With popover opened 1`] = `
class="pf-v5-c-input-group"
>
<div
class="pf-v5-c-input-group__item pf-m-fill"
class="pf-v5-c-input-group__item"
>
<span
class="pf-v5-c-form-control"
Expand Down Expand Up @@ -787,7 +787,7 @@ exports[`disabled date picker 1`] = `
class="pf-v5-c-input-group"
>
<div
class="pf-v5-c-input-group__item pf-m-fill"
class="pf-v5-c-input-group__item"
>
<span
class="pf-v5-c-form-control pf-m-disabled"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-core/src/demos/SearchInput/SearchInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ AdvancedComposableSearchInput = () => {
id="datePicker"
style={{ width: '100%' }}
value={date}
onChange={setDate}
onChange={(_e, newValue) => setDate(newValue)}
appendTo={() => document.querySelector('#datePicker')}
/>
</FormGroup>
Expand Down

0 comments on commit 4b23675

Please sign in to comment.