Files
threshold-ui/ui/admin/app/components/info-field/index.hbs
T
Zack Moore 6eb83b2a25 Upgrade HDS dependency to 4.13 & migrate FlightIcon to Hds::Icon (#2540)
* updated hds and replaced deprecated flight-icon

* removed code trying to import from ember-flight-icons

* fixing linting issue

* fixing linting issue

* fixing dropdown test selectors

* updated dropdown selectors

* updated dropdown selectors

* updated dropdown selectors

* addressing pr feedback

* fixing linting error

* updating dropdown selectors
2024-11-04 11:29:56 -06:00

18 lines
378 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: BUSL-1.1
}}
<div class='info-field{{if @icon " has-icon"}}'>
{{#if @icon}}
<Hds::Icon @name={{@icon}} @size='24' @isInline={{true}} />
{{/if}}
<Hds::Form::TextInput::Field
@value={{@value}}
readonly={{true}}
...attributes
as |F|
>
{{yield F}}
</Hds::Form::TextInput::Field>
</div>