numeric keypad for Productive and Actual Hours

This commit is contained in:
jfrye122
2023-06-02 13:50:39 -04:00
parent 20e59bdd6b
commit cf24d49f9f
2 changed files with 5 additions and 3 deletions

View File

@@ -147,6 +147,7 @@ export function TimeTicketClockOff({
onBlur={handleBlur("actualhours")}
value={values.actualhours}
label={"Actual Hours"}
keyboardType="numeric"
/>
<TextInput
style={localStyles.inputStyle}
@@ -155,6 +156,7 @@ export function TimeTicketClockOff({
onBlur={handleBlur("productivehours")}
value={values.productivehours}
label={"Productive Hours"}
keyboardType="numeric"
/>
<CostCenterSelect
currentRatesNCostCenters={currentRatesNCostCenters}

View File

@@ -225,9 +225,7 @@ export function TimeTicketCreate({
style={localStyles.inputStyle}
mode="outlined"
disabled={true}
onChangeText={handleChange("employee")}
onBlur={handleBlur("employee")}
value={values.employee}
value={currentEmployeeFullName}
label={"Employee"}
/>
@@ -244,6 +242,7 @@ export function TimeTicketCreate({
onBlur={handleBlur("productivehours")}
value={values.productivehours}
label={"Productive Hours"}
keyboardType="numeric"
/>
<TextInput
style={localStyles.inputStyle}
@@ -252,6 +251,7 @@ export function TimeTicketCreate({
onBlur={handleBlur("actualhours")}
value={values.actualhours}
label={"Actual Hours"}
keyboardType="numeric"
/>
{error ? <ErrorDisplay errorMessage={error.message} /> : null}
<Button