Import#
import { Value } from '@dnb/eufemia/extensions/forms'render(<Value.InstallmentDay />)
Description#
Value.InstallmentDay displays the selected monthly installment day as a read-only value, shown as a readable ordinal phrase such as "15th day of the month". When the value is 'last', it displays the translated "Last day of the month" label.
There is a corresponding Field.InstallmentDay component.
Relevant links#
Demos#
Value#
Avdragsdag15. dagen i måneden
<Value.InstallmentDay value={15} />
Label#
Label text20. dagen i måneden
<Value.InstallmentDay label="Label text" value={20} />
Last day of the month#
AvdragsdagSiste dagen i måneden
<Value.InstallmentDay value="last" />
Placeholder#
AvdragsdagNot selected
<Value.InstallmentDay placeholder="Not selected" />
Inline#
The installment day is 15. dagen i måneden every month.
<P> The installment day is <Value.InstallmentDay value={15} inline /> every month. </P>